package vip.xiaonuo.smzq.modular.dictionary.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Description: 通用目录树实体
 * @Version: 1.0
 *
 */

@Data
public class DirTree {
    @ApiModelProperty(value = "id")
    private String id;
    @ApiModelProperty(value = "上级id")
    private String pId;
    @ApiModelProperty(value = "节点名称")
    private String name;
    @ApiModelProperty(value = "行政区划名称")
    private String xzqhmc;
    @ApiModelProperty(value = "节点编码")
    private String code;
    @ApiModelProperty(value = "节点别名")
    private String alias;
    @ApiModelProperty(value = "提示")
    private String tip;
    @ApiModelProperty(value = "图标")
    private String icon = "";
    @ApiModelProperty(value = "是否固定目录， true 固定， false 可修改")
    private boolean isFixed;
    @ApiModelProperty(value = "是否选中")
    private boolean isChecked;
//    @ApiModelProperty(value = "是否叶子节点")
//    private boolean isLeaf;
    @ApiModelProperty(value = "拓展字段")
    private Object cus;
    @ApiModelProperty(value = "子节点集合")
    private List<DirTree> children;



}
